ExamPlay Light Logo
Mag-sign In

Computer Science for IGCSE & O level - Programming (Section 1 - No. 40)

Which variable(s) are likely to be declared as global variables?
StudentTotal
ClassName
SubjectTotal
Mark

Paliwanag

Global variables are accessible from anywhere in the program. In the code examples, variables like ClassName and student-related totals would likely be global, whereas Mark is only used within inner loops.

Mga komento (0)

Mag-login Upang Magkomento
Advertisement
BrainBehindX Inc Logo
©2026; Pinapatakbo ng BrainBehindX Inc